#mesh
rm -rf test*

#len = 512
./mesh_switch -u Cmdenv
mkdir test_512_160Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_160Gbps

sed -i 's/0.00000000000625/8.33333333333333E-12/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_120Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_120Gbps

sed -i 's/8.33333333333333E-12/0.0000000000125/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_80Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_80Gbps

sed -i 's/0.0000000000125/0.000000000025/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_40Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_40Gbps

sed -i 's/0.000000000025/0.00000000005/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_20Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_20Gbps

sed -i 's/0.00000000005/0.0000000001/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_10Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_10Gbps

sed -i 's/0.0000000001/0.0000000002/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_5Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_5Gbps

sed -i 's/0.0000000002/0.000000001/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_512_1Gbps
cp -r /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-5.5.1/samples/mesh_switch/src/test_512_1Gbps
